package cool.tenyears.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author tenyears
 * @Description 程序启动配置
 * @Date 2021/6/17 22:38
 */
@Configuration
// 扫描mapper接口
@MapperScan("cool.tenyears.**.mapper")
// 扫描cn.hutool.extra.spring包下所有类并注册之(可以使用SpringUtil工具类)
@ComponentScan(basePackages={"cn.hutool.extra.spring"})
public class ApplicationConfig {
}
